import 'package:json_annotation/json_annotation.dart';

part 'guide.g.dart';

@JsonSerializable()
class GuideData {
  int periodId;
  int subjectId;
  int gradeId;
  String jobTitle;

  GuideData(
      {
      this.periodId,
      this.subjectId,
      this.gradeId,
      this.jobTitle});


//反序列化
  factory GuideData.fromJson(Map<String, dynamic> json) => _$GuideDataFromJson(json);
//序列化
  Map<String, dynamic> toJson() => _$GuideDataToJson(this);
}

